package org.papervision3d.materials.special;import org.papervision3d.core.proto.MaterialObject3D;import org.papervision3d.core.render.data.RenderSessionData;import org.papervision3d.objects.special.VectorShape3D;import org.papervision3d.objects.special.commands.IVectorShape;import nme.display.Graphics;	/** * @author Mark Barcinski */class VectorShapeMaterial extends MaterialObject3D {	public function new() 	{		super();	}	public function drawShape(vectorShape : VectorShape3D, graphics : Graphics, renderSessionData : RenderSessionData) : Void {		var prevDrawn : Bool = false;		for (i in 0...vectorShape.graphicsCommands.length) {			prevDrawn = IVectorShape(vectorShape.graphicsCommands[i]).draw(graphics , prevDrawn);			}				graphics.endFill();	}}